<?php
namespace Hive\Address;
/**
 * Company Object. 
 * 
 * It represant a Company.
 *
 * @author Xavier VILAIN
 * @package Hive\Address
 * @property string $code				Alpha 2 Code
 * @property int 	$countryid			Iso Numeric COde
 * @property string $language			Default Language (fr)
 * @property string $code_alpha3		Alpha 3 Code
 * @property date 	$keyname 			Keyname for file parsing
 * @property string $label				Label
 * @property bool 	$active 			Active ?
 */
class Country extends \Fox\Object\Customizing {
	
}
\Fox\Dao::infos(Country::className(),new \Fox\Object\Info('address_countries', \Fox\Databases::DB_APP));

// Link to i18n elements
\Fox\Object\Links::add(\Fox\Dao::link(Country\I18n::className(),Country\I18n::LINK_REFERENCE)
->to(Country::className(), Country::LINK_I18N)
->on('code')
->versionFrom());